Version

AddLevel<T>(HierarchyDescriptor<T>,Expression<Func<T,Object>>,String) Method

Syntax
'Declaration
 
Public Overloads Shared Sub AddLevel(Of T)( _
   ByVal hierarhyDescriptor As HierarchyDescriptor(Of T), _
   ByVal expr As Expression(Of Func(Of T,Object)), _
   ByVal levelName As String _
) 
public static void AddLevel<T>( 
   HierarchyDescriptor<T> hierarhyDescriptor,
   Expression<Func<T,object>> expr,
   string levelName
)

Parameters

hierarhyDescriptor
The HierarchyDescriptor<T> where this level is added to.
expr
System.Linq.Expressions.LambdaExpression that describes the data resolving path.
levelName
The name used for this new level.

Type Parameters

T
The type of the items passed to FlatDataSource.ItemsSource.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also